<!DOCTYPE html>
<html>
  <head>
    <title>douban</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1, minimum-scale=1">
    <meta content="telephone=no" name="format-detection" />
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
<script>
	var computedFz = (function(){
		var designWidth = 375, rem2px = 100;
		function computedFz(){
			var fz = Math.floor(window.innerWidth / designWidth * rem2px);
			document.documentElement.style.fontSize = (fz > 100 ? 100 : fz) + 'px'
		}
		return computedFz;
	})()
	computedFz();
	window.onresize = function(){
		setTimeout(computedFz,500);
	}
</script>